<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>文件列表</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
		<!--ios是否运行创建快捷启动方式-->
		<meta content="yes" name="apple-mobile-web-app-capable">
		<!--ios顶部通知栏的样式 黑色-->
		<meta content="black" name="apple-mobile-web-app-status-bar-style">
		<!--遇到数字不让转成电话号码格式-->
		<meta content="telephone=no" name="format-detection">
		<script src="js/remstyle.js"></script>
		<link rel="stylesheet" href="assets/mui/css/mui.min.css">
		<link rel="stylesheet" type="text/css" href="common/css/base.css" />
		<link rel="stylesheet" type="text/css" href="css/min_page.css" />
		<link rel="stylesheet" type="text/css" href="css/all_files_tb.css" />
		<script type="application/javascript " src="js/jquery-1.7.2.min.js "></script>
		<script type="text/javascript" src="js/vue.js"></script>
		<script src="js/config.js"></script>
	</head>
	<style>
		
	</style>

	<body>
		<div class="all_files_title">
			<img src="img_page/right.png" onclick="javascript :history.back(-1);" />
			<div class="title_center">我的文件夹(10)</div>
		</div>
		<div class="all_files_con">
			<div class="files_info" v-for='v in files'>
				<img src="img_page/all_files.png" />
				<span>{{v.type_name}}</span>
			</div>

		</div>
	</body>
	<script>
		var all_files = new Vue({
			el: ".all_files_con",
			data: {
				files: [],
				list_num: '0'
			},
			created: function() {
				this.getList();
			},
			methods: {
				getList: function() {
					console.log("11111");
					var that = this;
					$.ajax({
						type: "get",
						url: v_url + "/wechat/singlepage/getMyFileList",
						data: {
							source: '0',
							c_user_id:c_user_id
						},
						async: true,
						success: function(res) {
							var list = res.data;
							that.files = list
							console.log(that.files);
							var list_num = list.length
							that.list_num = list_num
							console.log(list_num);
						}
					});

				}

			}
		})
	</script>

</html>